package com.jdzy.student.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jdzy.model.teacher.pojos.SysMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {
    List<SysMenu> selectAll();

    List<SysMenu> selectListByUserId(Long userId);

    void updateMenuById(SysMenu sysMenu);
}
